﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyWeb.ServiceBus.Model.Dto
{
    /// <summary>
    /// 日志查询
    /// </summary>
    public class RequestLogQuery
    {
        /// <summary>
        /// 页码
        /// </summary>
        public int Page { get; set; }
        /// <summary>
        /// 页面大小
        /// </summary>
        public int PageSize { get; set; }
        /// <summary>
        /// 服务耗时【开始】
        /// </summary>
        public double TakeUpStartTime { get; set; }
        /// <summary>
        /// 服务耗时【结束】
        /// </summary>
        public double TakeUpEndTime { get; set; }
        /// <summary>
        /// 应用编码
        /// </summary>
        public string AppCode { get; set; } = string.Empty;
        /// <summary>
        /// 响应码
        /// </summary>
        public string ResponseCode { get; set; } = string.Empty;
        /// <summary>
        /// 请求时间【开始】
        /// </summary>
        public List<DateTime>? RequstTime { get; set; }
        /// <summary>
        /// 服务编码
        /// </summary>
        public string ServiceCode { get; set; } = string.Empty;
        /// <summary>
        /// 调用方
        /// </summary>
        public string Caller { get; set; } = string.Empty;
    }
}
